Add maven shading, implemented better scheduler