Moved configuration and serial helper functions into basic.ino. Made configuration variables (including serial) global.