built basic plugin loader and function expose system