First version. Command-line only