Added Write function.
renamed Message to Form