Implement a function to get fastest cdns
Move cronjobs to /lib
Improve structure