initial support for Luna. Extracted Release and Mirror to make them configurable. Further generalization is possible