added gpl notice to slave.cc