adding basic getopts, WIP
finalize getopts addition and update docs, close #3