Constants M_XXX -> m_xxx in SpecfunServices.
Started apbtest_ext as API for testcode