changed impl for SpringApp main