Added confuse script and moved cmake files