Removing usage core_path in controller config file, in stead use that pa...

...th from

mainModule exported core_path.