This might not be the greatest place for the code. Some modules only inherit from Poet itself and do not grab the scanner class as well as this would be called each time a module is run. Might be best to make a method per module to check to see if the table already exists, if not create.