add option to choose storage type, issue #22
enable native mode when storing data
update documentation