remove deprecated assignment by reference
formatting
Add simple travis setup