moving single api resources into individual files