Factor out network module!