Clean local db and webapp references