plugins refactoring & twitter fixes for #73 #136