Tidied and started implementaation of vector junctions