Add poc for cdi dependency injection. Refactor gui code to use dependency injection.
Merge branch 'ioc-poc-using-cdi'