renaming functions, updating todo.md
updated documentation, improving API
manual.md updated