fixed destruction of database. was in wrong order.
modified creation of database tables -- no longer attempt to delete tables first.
the two processes are being kept separate for now.