Modernized, cleaned up, added some simple tests
Merge pull request #1 from splinesoft/master

Modernized, cleaned up, added some simple tests