Added Controller Functions file