Added extensions to gitignore, added polymorphism to apps