Switched from boxed structures to unboxed everywhere

It was rather easy. Demo compiles and runs fine. Closes #91