Made levels an array of objects

These objects contain the level data, and optional setup and cleanup
callbacks.