Documentation and fixed the status

Finished the Documentation on index.html and fixed that setStatus
function to properly trigger.