Pulled logging out of this and into it's own project