Added town task system and framework of research system