added converting from absolute to cumulative, fixed web application,
moved converting to separate controller