Refactor: returning created population from compiler