Make profile table name getter public

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>
Add event handlers

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>