adding some docstrings. adding main call functionality on cmdline. adding tweet when finished resampling. adding resampling formatstring per 2nd paratemer.