refractor directory and update REME.md