improving backend to accomodate cloudlet