Added security, more robust db and controller methods, audio/video
sample capture.