* usage() returns usage instead of printing it
* add simple switch parsing