Created controller and repo classes