Finished first version of the Mess class.