cleanup

Sprite class and main function cleanup. Better use of OOP concepts??