add balance to Contract model
add raise on exception
add balance view