fix cabinet urls
add base templates