client: add module for preloading