Opensource port of BSI to rails