updated code and docs
lastest code and documentation
added html version