More compile fixes.
Merge pull request #22 from docfaraday/multistream_unit_tests

More compile fixes.
Moving enums and init around
Moving to load functions universally
Moving to const refs