Functionally completed CRUD functions

There is next to no commenting at the moment, this will be resolved when
sleep has come.