added documentation and edited less files which contained errors in rendering