created base controller and added files needed