Removed some cruft, made it more straightforward to use.
Added a license, what the hell.