On point 3 (custom registry), see Creating a custom registry. One of the contributors has worked out a step by step guide.