updated createTables and prototype for addRun
added style map