As this requires me to touch not just the polys module but also the core module,it would be better if i could start uploading stuff in chunks instead of the complete stuff. Though i have been trying to find and replicate gcdex but still there is alot in polys module(like the complete domain section) which requires addition of the code-snippets for gcdex_diophantine to work ... work still in progress