Clean up application controller