Reorganize biography code