Agalya adding framework