refact the constructure of small website