Profile refactor

Solves https://github.com/kaspernj/awesome_tasks/issues/91