Move Chanjo integration to write to SQLite database grouped by batches. Use commandline client instead of API to get loading functionality. #596