remove unneccessary files and sub account funtionality in mid