adding pyramid code to runner
added median filtering to getFlow