Added base class, controller and crud actions for clients