Fixed code formatting and added multi delete and archiving