Database now works, further work on server, more commands