Updated code style; updated docs; renamed namespace;