changed all classes to public and added new Library