added partials, split scripts, and made a single layout