Refactor components loading to lazy

Change loading of some components.