initial commit of GSM code