Added sql schema for plugin player-db
added code to write to database