Ridiculous refactor to make it much easier to develop + added some features
New loop since read messed up the input for tests
Added tests for qs_opts
changed parameter with wrong name