add documentation
add global configuration.
move stopwatch

Signed-off-by: Curno <lyf.curno@gmail.com>