Added initial version of the SPS library.