Level class modyfied. int main changed.