making it a cakephp plugin