inherit class from rainlab plugin