a bit of refactoring
add rgb module