added layer to connect to the database
added DefaultModel
added DefaultModel
added joins
Merged with master
Added namespaces according to PSR0 standard
Fixed mail sending
Renamed class for DB tables according PSR standard