Added domain model

Added domain model
Added userRepository
Added database test method (seems to work :D)
Improved api main site