refactor with console, parser and calculator