Add jopt simple for option parsing, something I intend to properly implement soon, also rewrote quite a bit of the headless backend. Things may break.