Converted into a library
Added test directory
Version bump and test command
Generated docs