added some clique chain inference and cleaned up the code; not everything is working properly yet
removed unecessary files