Merge pull request #64 from gdb/master

Clean up interface
Bump to 4.0.0