try to seperate canal_controller from cakephp framework

and instead of using pure php (in nginx).

Signed-off-by: Ray Allen <ray@ray-Lenovo-IdeaPad-S400.(none)>