Added documentation.
Modified clear command pattern to include a prompt after clearing.