Added default options, options variable

I changed this so that there's a variable containing all the plugin options that all the member functions have access to. You can also define defaults in the "settings" array, which don't get written to the database and are overwritten if there's a value in the database.