added console application class