Updated readme
Refactor and added filedata class