Refactored sub categories and projects model
Deleted unecessary files