new web ui and some architecture changes