16 refactor config

Config re-factor, devices + start of CPAN packaging. Plus travisci bits.