made it use $request variable for passing by reference to filter manager methods.  made the environment configuration be able to detect the environment by the root folder the app is in.  modified the request routing filter so that multipath requests can be mapped.