Added base controller and files