Wrote some more of the serial com thingey

I have decided that this will be a linked library
so i will fix this after i've changed make to cmake for easyer compiling
and source handling and stuff, i dont really know what im talking about
but i'll have to add doxygen documentation after that. yes
i like this commit :)