Refactor shared part

- separate transfer request and capture
- deletes configuration to simplify
- makes path be able to be in vhost part (ex. vhost:80/test)