setup functions in the facade
setupController in facade