background picture working and color changes and some refactoring