implemented new profile system
Merge pull request #70 from davvitt/issue#61-profile

implemented new profile system