removed url field and organized routes