Route now ignore the start and end empty param in URL

Object core->getInstance, it will additionally call _init method. It will provide another chance to init object before using it.

Change base controller to use the new _init method to read cores to local variable.