Added citadel scripts.

Added extra validation for ensuring MECQ input libraries have been defined.

Updated some documentation.