fixed template inheritance
added ./idea files to gitignore
removed old gitignore