Merged post and postdb into one command. Updated documentation and cut some SLOC.