some basic code organization
optional http proxy service