adding controller file