Initial commit of old version lacking horizontal totaling and other features.