REWRITE: create the resource object and compare() method. REWRITE: titan.conf is now titan.json. rewritten with json notation