add router & dispatcher.
add component, logger etc.