Created abstract CRUD class for the rest api
Created abstract class for crud models