creates database tables for plugin