refactor all methods and functions to use classes
Merge pull request #34 from KimpossibleG/convert-dictionary-to-classes

refactor all methods and functions to use classes