added things

- Added a model class which all model classes should extend
- Added a database driver sekection In the furtue there can added a new
database driver.
-In the model constructor dded the database propertiy. Now all model
have automnaticaly db access.