used method to return instance of model instead of using getServiceLocator method.