Issue172 add contact simplify de serialization

Closes #172.
Please merge first PR #171.
Is it possible to add a javadoc comment when someone create a new function? It is less work now but later one have to it.