Add static server and make index extend layout