Initial try at RoR for vamps code