Full refactoring

- removing all unnecessary dependencied
- aligning code with codepen
- streamlined build