Adds .idea directory to git ignore.
Adds support for routes.