Added ability to retrieve levelData from the server. Got rid off events, remade using callbacks