Added application launch support and console entry point.