Changed 'vaultsync' executable into a library for better REPL support
and to fix an issue with FP Complete