added index template and routing. Fixed bootstrap.