moving out library manager
Revert "moving out library manager"

This reverts commit 4ea96241bea0f6fc0599ac8ee269b3e89926383b.