Functions documented
Example and test files