changed links from .md to .html

Also there is a reference to `database.html` which doesn't exist.