Repositories feature for CakePHP framework