implemented map loading and multiple brains