Added cyclic checking for requirements. Todo: More indepth checks