Cleaned up old code, added timeline base, fixed unit testing, added travis