Move hue api interface into its own file.