tweak gitignore
add serial and master/slave implementation