More tests.
Some code refactoring.
More error handling.
Removed TCLogs.
Travis badge.
Test improvements. Skip one or two for now.