* Update c extensions and python tests. * Updates. * Documentation fix. * Move c extensions into common_extension.c
* Python API for constructing tasks * Fixes.