moves components to lib directory