add .gitignore
Merge remote-tracking branch 'origin/master'
refactoring of controller