*fixed issue with running request from cmd
*fixed issue with calling methods on IndexController
*added class for easily measuring memory usage