finally got protocol/defrecord working

* implemented file based storage plugin