Add socket initialisation method and handlers
Add method for retrieving serial
Add note about libev and wayland event loop
Add doxygen grouping information to header
Set up socket in main function.