Major updates

Update on coding structure and check if the proxy is blocked