Update of core.

This is still not fully working as I intend, Seems to be issues with HTTPS domains,
I'll test at some point to find a solution, Keep updated.