Added pyserial as dependency.
Conditional loading of configuration.