Started Database

Started adding database functionality