move detailedItem object to a newly created file detailedItem.js
move itemManager object to a newly created file itemManager.js
move printer object to a newly created file printer.js
change searchitem function into a private method of ItemManager
change contain function into a private method of detaileditem
move processTicketInfo method from ItemManager obj to Printer obj
rename the interface of ItemManager as getDetailedItems