Added main entry point for application.