Initial checkin

First release, a lot of error checking missing, use on own risk