Created some basic functions to the library