changed image storage to match demand

added handlers for changing difficulty