Rename endpoints module to 'framework'

The former implied that endpoint implementations might be in the module,
which was not the case.