Revert "Edited model:"

This reverts commit e6209cff06734724558b2db1039c8b42683a93cd.
Processor: Fixed don't insert posts when creating a category
Watch: Don't filter type
typo
Database: changed functions to named functions
Database: simplify Query
removed Collection.count(), Query.count()
Database: Added index in collection
Database: Added Single class