Refactoring REST services.
Add name in Document constructor
Update REST service unit test
Change logging configuration