Add Travis. Fix some Issues