improved modularity to allow forking without http or io server for background process like feed fetching