Add epub generator; Minor changes