Fixed potential bad-access on creating new shared instance
Fixed casting warnings
Refactored multiton class
Updated readme file formatting