Restructure Code

- some ClassInfo methods moves to Object
- db_fields, searchable_fields and indexes are now static attributes
db, search_fields and index
- some SQL-Methods removed
- Fixed some Bugs with creating tables