Adjusted makefile to build the library, made devices.c for abstracting devices, renamed .hfile
updated test file with new header information