moved unit tests to /tests, better CLI args (see -h)