create object package and allocate respective pojo.