rewritten classes.rst to make it digestable