Added apache toenisation support, updated api docs and added api docs generator.