Converted instance variable to const, becaue it will not change
refactoring; extracted out classes to separate files
Added support for groups of tables