reformatted webapihost code
Merge pull request #19 from adamralph/webapi-reformat

reformatted webapihost code