class for drawing shapes and playing sound