add rack-cors gem
fix rack-cors
add sort by state, name