Setting up Level's and event handling.