test the console application and the general workflow.
even more code cleanup as reading by