Created main classes for user and book