Starting a rewrite of dynamicEndpoints.py
Switching dynamicEndpoints.py over to use a real logging system, and catching and logging some errors.