Move social tile code to cv