A few features, better documentation, bug fixes

Updates and bug fixes to code; added git history, clumptargets and api-deletes. Better documentation and some bug fixes. Thanks.