Refactoring RestKitComponent