Moves the lib.js file to seperate files within the library/ folder, which is now required in as necessary.