Profile

Refactoring for naming patterns and basics of redesign for profile.