serial: Improve upon serial code
Rename functions starting as capital