moved Message classes to Messages namespace; added Module support