Param updates

some more cleaning I did. I'm still not happy with parseArgs. I want to think about it a bit more. now that I think about it, tests should be written for bad param passing too... maybe later, I want to think about a more generic way to make param parsing work across apis