finished index layout and seperated page components