implementation of greedy and cost/benefit cleaning policy + small fixes
fix policy function invocation