Extract options out ot JSON file

Fixes #31 
heh i was talking more about the implementation of it