more udpates to the codebase with updated rest api and also regex system to tackle the links