Rewrote option parsing using trollop
Added help and usage text