move core functions to ContentHandler class
mainScene ,ContentHandler class modify