Refined .gitignore, added resources.