add base controls definition
add basic plugin lifetime functions