Major changes to Database APIs, reformated a lot of Utils code. Set up
error handlers server and client side. Database is now fully connected.