Fix memory leak

by using the singleton pattern for Level and thus only ever allocating
one Level object.