Add input, parsing, main