Added framework for multiple player support.