web: define type
web: add remote and local retrieval