Basic Scaffolding and mutex logic done