started to rewrite filesystem module
basic functionality of filesystem scan working again (not yet stable)