move all bean instance to BeanInstance

Can not inject beans to velocity tools.