added begining of testing...

Trying to find the place for stuff... This patch doesn't actually totally work, though it does seem to fix some of the loading issues.    But it points out we need to implement
getEndpoint('xxx')
and
send('endpoint', stuff);