generated a controller, added foundation