Upgrade csm library to csmapi 5.1 from csm 4.0 and spring framework library to 3.2.8 from 3.1.1.