nedb based metadata storage for phant