Added doc strings. Added required modules.