add autoload,update as OO