add main template to banners and random function for showing one banner