Started adding DB functionality. Project in need to commenting