connectors tuning

add tests, unify package name, some enums, 
add javadocs
add encoding for failsafe plugin