A rails chess backend