Adding model and sqlite helper