Added serializable to log classes
Fixed serializable bug