Basic API for storing any data