Database, user classes

Database class is ready, user class is almost ready