started using helper fxns to simplify pkg
reworking all fxns to simplify, #9
changed all fxns to use internal compact fxn
no longer importingfrom compact from plyr
replaced all fxns with as_f fxn to check for format type