Writing the library

Writing the library