Major changes to the database to handle plugin management.
Major DB changes to handle plugin management