added radial gradient view
refactored types out into separate header files