implemented first part of export to create the omop database refactoring setup and publish functions, need to test the database and export all tables