add more code doc blocks, and rest of plugin hooks in admin interface