Refactor. Renamed NPM package. Added test coverage and .FPS() method