build repository from first working application