add bootstrap and index code