added formatting and also the new web stuff
removed rest stuff and uneeded stuff from ui