Added config handler and DMMazeUtils class

Added a config handler class to handle config properties.
Added DMMazeUtils class and moved the getDMLevel(); method from the API
class into this utils class.
Updated each class using method calls through API classes to use them
directly.