This is the application core.