self host console application