Add Railtie and configuration