Cleanup of API. 
More comments.
Updated profile.