Add scanner.
Use spring to manage the objects.
Use annotation for beans and use properties file for configuration.