moved serial init into PiLink class for better Serial abstraction