refactor and change .env port