spring4 implementation of a basic document management system