Cleaned up code

took some extras lines out of the code that were repetitive and pulled
out all icon and art reference except global variables. Have options for
icon and art in resources folder attached
Cleaned up code

this is with the cleaned code