implement upload object service.
osgi support and little structure refactor.