Refactor into submodules
Move example from __main__ section to separate script
Update copyright date
More documentation comments
Remove unused datatables code
Add setup.py script