profile and content refactoring to datamapper