Database beta

Started working with databases for checkin procedures.