adds support for non quoted arguments and some other features
Refactor and better documentation
adds missing testcase