simple plugin system

add the simple plugin system which need to refactor in future