Flat file storage

Hey @henrikbjorn,

i extracted some parts from my implementation. There are some differences, because the design from my bundle is quite differnt to bernard.