findCircles factored out.
More refactoring and restructuring. Basic functionality done.