Added travis configuration
Reformat code to current style
gendocs