Add new Twig extension for easier fetch of order details and cleaned up code a bit