added init, deinit and sync functions for banana-tool
pear fix cosmetic