Add a sample module for PTT-based scripts.
Move format_user to secret.py.