Rhode Island offers solar energy class