Added functions and sGet, sPut, sPost etc.