Refactors some code
Small change in benchmark
Adds documentation to run benchmark
Extracts functionality from index.js to a file
Adds extractIds function
Reduces code repetition
Release v0.3.0