edfs_slave as separated app, fixes & optimization