Add more function endpoints
Added the subscriber table
Catch SIGINT to exit gracefully