initial commit
cosm -> xively
added php code