Added properties for setting colors of all view elements. Some refactoring.