Move source code into lib directory.