master add function file
BaseController
to merge