Added door plugin
Fixed database structure being out of date