DMP Libs

Added DMP libraries
changed library installer from shell script to makefile
updated check_encoders to use get_state()