refactoring of shape.js and moved css into its own folder