Intersection base

Base code for the main program