initial restructure from static webpage to dynamic express app