initial commits of Database code