Updates

Did some work to display sprites and cleaned up the code