MultiLevel-Formatting

new code allows for multiple levels/gamestates