added BaseController for patch manager