Created database tables & database class