moved all the bt serial stuff into class; changed makefile to support source depends