Rewrite the whole server based on the new dp api

Cron job feature needs to be rewrited, with the ability of storing 3rd
part accounts