Added missing ResLoader.java from last commit
gitignore now ignores .class files
Fixed ArrayOutOfBounds bug