add .gitignore file
introduce model & controller architecture