Extract options out ot JSON file

Fixes #31 
ahahha this method :finnadie: