Move code files to lib folder.