Wip c11 simple

After struggling with the coding philosophy here, I've gone back to idiomatic old-school C