Make deployable as a gem or standalone