add unit tests for component manager
cleanup
add color formatter for log output