Adding layer definitions as standalone object, and updating player class to use it. Also fixing call to player constructor in Play