seventh commit. up to end of andevcli6 27/10/14 11:37