C++ified various parts

Added Link, LED, Status, and Error classes. Only slightly higher memory
usage.