Some configuration option additions, but mainly just making the code readable

* code now resembles something readable
* added ability for the desired language and the path to the i18n json files to be passed in via $rootScope