added an initalize method to setup controllers