refactoring
new servlets for getting graph sizes