created a import/export database and database query page, wired up functionality, commented and cleaned up code