Started Rails integration
Bugfixes
Improved locale handling