added dataFiles

fixed bug with chat trying to get player data before the player was
created
moved tilesets to imgs/tilesets.
added resources.js