improve formatting
add ability to generate service
more configurable reconnect callback
Merge pull request #4 from val314159/new_elements

New elements