Allow passing options via CLI

This is also the first step to get #6 in place.