Removed all REST functionality as it's not used and is a potential security hole