add api v1
fix routes