adding base controller and model with crud

adding base controller and model with crud