finished adding tests and fixed some shit
moved plugins to separate packages