add component loading functions. Now all components will load automatically via component loader function