Make profile into a class
- add profile-specific plot function to generic plot.