Refactored.
Cleanup from refactoring
Added swp to gitignore
Refactored the table generator into a class and wired it up (initially) to the run script