Profile section updated, and re-added.

I added the profile section in the new architecture theme.
I also modified some of the core files to clean them up.