First version that basicaly just parses commandline and not much more