front-end template, css grid, cleanup