Move Identity closure to separate factory

*   Move Identity Controller Plugin to factory
*   Move Identity View Helper to factory