Major code cleanup

Added Docblocks _everywhere_, PSR fixes and classes referred to by their fully qualified names. I mean I love Carbon but seriously, the code was a mess.