Add title to index template, remove unused urls and functions.