Database schema
Add some code for clients