Updated documentation (not finished yet).