Rails backend for AK.