Fleshed out code, updated README

Updating README example

Adding docblocks

Adding a bare unit test, getting static analysis test passing

Adding tests

Updating bower file