improved plugin manager and extracted more plugins