updated capfile and added wsgi to api