This version has the next improvements:
- Allow groups the endpoints. For example
const endpoints = [new User(), [new Greeting(), new OtherClass()]];
- Implement authConection which is a security layer which respond with the endpoints according with the permissions
- Implement path logic for the middlewares
- Improve the types
- Optimize code