added spring router configuration, added javadocs