Refactored resize functionality
Fix resizing problem on mouseup

Due to the refactor, the window was moving more twice on mouseup after a resize.
Unified way to calculate movement on resize
Moved resize code to resize folder
Build files

This build contains:
- move feature: on move, only move a shape. Only move the content on mouseup
- some refactorings (still need to work more on this part)