added kinvey-related init code