Implement balance method
Remove old code
Add travis config