Rewrite code for init, create and scene function in main screen gameplay