Move library files to lib directory