Renamed api dir
setting up autoload