Added salat persistance for mock model
abstract crud logic to BaseController