fixes index
fixes routes
add handler file