Moving viewClassMap() from AppController to RestKitComponent