adding database setup and extras