wrote mainloop functionalities
Added comments about resource loading and added temporary resource
Added some functionalities to sprite and spritesheet
Added comments to loadSprites

also figured out some functionalities of jquery
added functionalities to loadSprites