Rename init to app, and add in mysql class