add console application - closes #5