small cleanup
full master simulation with cli
working cli for the lockcontroller