Moved twitter functionality into own class. Used custom delegate protocol.