added controllers and tab controller