Refactor MyProfile pieces into separate classes and files.