Make IP address configurable

For #11