Code Restructuring

Broke getStylesDict into two methods (getStylerDict and getTilerDict)
and restructured all code to comply with the changes.