Added some tests
General cleanup and optimization
Added a license

The license is the GNU GPL v3 license.
Merge pull request #10 from Progether/rock-fish

Trying to get this project moving again.