vn moving server call into main , adding server configurable in xml via jaxb