Coding classes in the library