add initial version of homepage template
initial homepage creation logic