moving build_profile to ThecaProfile::new