renamed serial class, make it more general etc.; some comments
added a bt master init function to serial class, but not tested yet