added Routes for resources, JSON response to get queries on Models