Enhanced categories functionality

Categories can now be of different types
Deleted unused files
Deleted unnecessary files