Abstract api class and fetch images STASH