Added database support and functionality
Beta version. Data from server, and added functionality
Final version