Added and Implemented the RepositoryPattern in CakePHP