Added custom color class. Updated compass view to function much more simply.