adding readme.md
refactoring filesystem to need less operations