basic functionality working. haven't tested syncing or the two phase commit properly