Add clear function
Add travis icon to README