cleaned up dish image api code, checking in for rebase