finish ens
First refactor of filestore