added some tests

added a database service
added models for user
added config base
improved package