Updated setup files and config

Config is now variable based and setup now contains the permissions
table and also default settings if no rows are found