Add get_home_publications method into main file.