Cleanup katja_writer entity creation
Add async data-sending functions