add base api
move api to [(r0, g0, b0), ...]
support new format [[r0, g0, b0], ..]
Merge branch 'master' of https://github.com/wgaggioli/HackDanceville