refactoring entity classes and started work on home page, fixed set theme