Moves logic for saving items to Api