Fixed Minimize Bug

Reorganized resource imports, Fixed .gitignore