Added .iml files to gitignore. Server bug fixed.