Places Polygon object in its own file. Adds initialize method to Polygon object.
Merged changes to code.js