Rename beforeInit as onload and afterInit as init

beforeInt is now called onload, and is now call once the raModel instance has been created.
afterInt is now called init.