plugins system

+ some functions were ported to plugins
migration to the new plugins structure

+ version bump
ready was updated
Merge branch 'plugins'