Clean up code, handle newlines in CLI