Refactor image/size/location/backends controller