added .gitignore
created a BaseController class