Merge pull request #25 from kirilldemidov/master

A lot of small fixes. Problem with .gitignore
New controller classes added
departments model added