added button images and created a res map