Added automatic switching behaivor between tenants.
Add Railtie.
Update README file.