Changes to front and back end to handle disk resources (as per #12).