API Interface

Corrected a few errors. Need to add boolean return values to the
functions save and delete. Also need to add a getAll type function.