Move component to lib/component. Init request library.