Adding Config::getPath().
Removing static calls to non-static methods!