rename api dir to src