Rewrote code without paper.js.
Shape Class fully works, resolved #5