Formatted code to Google Java style
Added code for SIP custom event handler
Generified collections