retention calculator v0.1

@robguthrie good to merge?