Refactored numerous items.  Fully documented proj