Add base plugin functionality
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>