Add delete function for db. Closes #14