Changed to use toolkit to get images so that the program runs in jar
form