Add missing functionality from old repo

@stevengj I deleted the old repo to avoid user confusion, this is all the old functionality ported to this repo