Using Controller as Class