moved noapi module into main module script