clear everything and init firework core code. (: