Add optparse and util modules

Also add working measurements to Mara-drvtrb.