Added unique key to machine_name column.
Created a general function for getting backoffice modules from the database.
Added delete backoffice module functionality.