modularized with head.js and split functions better between creating objects and rendering them to canvas