Also switch to java 23 to avoid conflicts and issues.
- refactor dependency injection to have all widely used dependencies in the Marinara class.