refactor(machine): Separate Machine iface from CoreOSMachine impl
refactor(machine): Make refresh an impl detail of CoreOSMachine
fix(machine): Protect CoreOSMachine with mutex