Add 'repair' action & DB/Read/Write CLI options
Implement 'range' command