Add zeromq support and switch to JSON protocol
Remove sqlite support