improved

everything
adding first batch of tests
added tests

re-implemented splitter
fixed bugs
updated package.json
added helper to tests