Core is now a plugin and reinit the conn after a configurabla timeout; crons improvments