Added pre-existing work on main code. Only performs solid red, green, blue, white and on / off functions.