Partial refactor to more testable dictionaries.
Add travis configuration.