added development Makefile
fixed bug with device id