rename api dir to routes