First checkin of the control script and its library.