tweaks to models, implemented homepage template