Added deletion procedures, fixed create procedures.

All procedures should be about finished- probably a few edge cases need
to be added in. Backend as a whole is almost done, other than file table
changes for actual file storage.