updated the api-stub server

Effort to get the api-stub server correctly serving files and to generate the index page with the includes in the correct order. Helps wrap up #4