creating basic database tables