docstrings
start_ap()
logging, exception handling