Split console application into commands.