separating shop plugin into api blocks