Added mlib
Intermittent additions & modifications related to adding gamestates, signals and classes. Currently a buggly half-complete implementation