Added functionality to support multiple devices.
Removed unused files.
Renamed to original filename.
Added Makefile.