Refactored, commented. 2 functions are now "stand-alone", not methods
Added hero generation according to Level data