Simple java configuration based app