Prep for monorepo
- Refactor internal logic to prep the code for monorepo
- Remove path.getTotalLength() dependency and add logic to calculate the path length
- Improve test coverage
- Add Prettier
- Bug fixes: fix an issue in Firefox where the progress bar does not get to 0