change general URL structure and add lang auto-detection