Created item functionality along with spring mvc test cases.