remove dev server sapi
add global SAPI constant (closes #3)