added Profile submenu
read/write profiles in config file