Reworked all library functions to use ':' call instead of '.' call. Added some documentation to libraries