More work on XML parser

- Introdused Sizers
- did some renameing
- restructured so the code is more dynamic and easier to extend
- made it so the Rails production envierment determins the resource url
used in the erb template in other words running the server localy will
let the resource url be local. meaning the entier game can be tested
local if your computer is set up right.