Added the ability to set the prefix for db table

I'm sorry for the others pull request, I made a big error with branch :)