Moving gateway and storage driver to packages