refactor params to tp and add admin/moderator initialization