init function for storage providers