Wordpress Plugin to handle custom database table