Working on creating MVC architecture using cake php framework