cleanup and commenting of Surface.py