Add doxygen grouping information to header
Set up socket in main function.