renaming dbadapter, opening db and creating table