Several refactors and a working profile data pull.