Fixed CRUD functionality (it now works fully)

Uploaded images are now instantly seen on homepage. Still working on
fixing the API to allow uploaded files to be displayed automatically as
well.