implementation of initial layout and boilerplate