Add acceraration feature, fix setup.py error