It was written in bash to avoid any dependencies TODO: Add a better clasification of status codes (Short and useful)