Line continuation fix
Moved some reusable functionality into a serieslyclient
Use client for compaction