define core/functional roles, seed data accordingly
update TODO
update JS to use new role.is_functional flag
refactor add-role event handler