Add proper CLI interface

Help text, version output etc.