adding .iml files to gitignore
fixing template locations and import problems