refactored map into controller resolves #3
updated gitignore