Added database functionality, methods still empty