Worked on callback functions and io objects

- Created a callback for each event watcher
- Created an object to store watchers with data to avoid
  globals that are used in sample code
Finish sctp struct