move apilist responses into a module
switch from request to xhr
start argument checking factory