Added autobooking, still a bit buggy.
Added id to appointments. They are not stored in XML, might not be necessary.