A very simple and usefull class to create an API in client or server.