Branch with structs test

Not sure if this is a good direction. Just a test for memory etc.
Fixed?

Hopefully this fixes all the weird things that got broke