added persistance layer to modules