Refactor to use Svelte Components instead of single Web Component
Since pure WCs are currently not the primary focus of Svelte Development Team, plain Svelte Components provide better maintainability.
Also, refactoring code into child components provides a simplified implementation.