Use sqlite as database instead of mysql

Using sqlite instead of mysql makes it easier to use it as a library inside other applications. I'm developing an app that will utilize this library and i didn't wan't the app to rely on mysql.