WIP: RNN framework