Removed all REST functionality as it's not used and is a potential security hole
Added groovy script for benchmarking flag calculations