Fixing URLs, adding active classes, fixing api and doc pages