Added the correct resty jar.

Added so function to get the fields and added event to know when a field was added

#1226