Static analysis found some rough edges
Added travis configuration