move level building into separate file;