Introduced the nebula library into the whole thing and am now sepearting the logic in a few repos