Create logger and basic cmdline parsing
Fix previous commit