setup loading refactoring
components config in constructor