Fullprofile

The code is pretty much all there, just needs testing and debugging.