console application entry point and dependency injection setup