move library extension to external