Refactored the API beans out of the jaxb package
Added scheduler.