Add basic executable to test serial
Change some API