added scheduling to database methods
added scheduling to database methods

Also added a check for SQLibrary. Removed the SQLibrary source from the plugin, instead making the plugin dependent on the plugin being installed.