fix(README): use hyphens for list
refactor(unit): Replace switches with if/else