WIP additions/refactoring: separate formatting from publishing & working on making rankProfiles more agnostic