Main class + cmd line reader.