Setting up rootviewcontroller