Check for application before initializing controller