rearranged packages and created listener to control playfield