Added console test project
Catch and print exceptions
Fixed output paths
Fixed build error