Moves thing to C
Speedups
Foreach action
Fixes to pass tests