creating Entity class
making Resource extend entity
moving game file into index, too many files is annoying