Adding a basic class annotated with the Spring controller stereotype.

Injecting this bean (using autowired annotation) into HomeController.

Fetching a string from the injected bean and inserting it into the model

Rendering that on the view