Creating a new lib folder to move global functions into libraries.