refactoring - removed pygame dependency (for PYPY)