make it possible to use the gem without rails