Changed lib to library

To keep naming consistent and easier to manage. Now calls to the Library
from a System will be library->someFunction instead of lib->someFunction