Allows the configuration of the backend storage

This introduces the same code as NAMD/pypln.backend@266544ee75 .  We should
probably think of a better way to share this code.