Started implementing the Marshal and SiignaOutputStream.
Cleaned up a lot.