Update origin input channels handling.

 * Move input channel into `Update' function.
 * Close channel when finished.
Rename `backend' into `connector'.
Fix catalog package name.
Clean up `types' package from uncommon types.
Add wait group for origin updates.