documentation finished, few consistency changes made