Add delete functionality for guides
Refactor inline controller to separate file