Fs refactor

basic File System implementation.