Refactor

create controller dir, and explode files more logic.