Add controller,views and resources to field