prepare for fs integration rewrite
filesystem integration part done
minor fixes
frontend and rpc fs integration