Finished messing with MBC.Shared

Completed changes that were required in the shared framework in order to
make the code cleaner.