Simplify code
Simplify code

Lots of of pointers back and forth into data structs which weren't
really used.. lots of code was copied from other apps but given our slim
use case we can remove most of that code.

Still as fast, just less code.

plajjan/snabbswitch,plajjan/snabbswitch,plajjan/snabbswitch,plajjan/snabbswitch