globals moved to application class