Added backend functionality for removing a class, updated frontend as well