Removed superfluous locallang.xml file
Extracted smaller functions from the main class