add initial manifest file, fix template preload