Added mongolastic functions

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Added sync function

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>