Parameterize optional inputs, add galaxy flag

Optional inputs are controllable via parameters object. Galaxy
generation is now optional.