refactoring: improve generation of levels
generic access to levels, simplify signature functions by removing 'screen' parameter